package com.zxmc.server.service.impl;

import com.zxmc.pojo.entity.Comment;
import com.zxmc.server.mapper.CommentMapper;
import com.zxmc.server.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommentServiceImpl implements CommentService {
    @Autowired
    private CommentMapper commentMapper;
    @Override
    public Comment list(Integer userId, Integer novelId) {
       return commentMapper.list(userId,novelId);
    }
}
